package com.zdd.ehe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdd.ehe.entity.AvgPrice;
import com.zdd.ehe.mapper.AvgPriceMapper;
import com.zdd.ehe.service.AvgPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0.0
 * @title: AvgPriceServiceImpl
 * @author: HFLy
 * @description:
 * @date: 19/3/2023 下午3:24
 */
@Service
public class AvgPriceServiceImpl extends ServiceImpl<AvgPriceMapper, AvgPrice> implements AvgPriceService {
    @Autowired
    private AvgPriceMapper avgPriceMapper;
    @Override
    public List<Float> near23(String type) {
        return avgPriceMapper.near23(type);
    }
}
